#!/usr/bin/env python
#-*- coding:utf-8 -*-
'''
   namespace_test.py
   autor wenzhui
'''
def foo():
    aString = 'bar'
    anInt = 2
    print "foo()'s globals : " , globals().keys()
    print "foo()'s locals :" , locals().keys()
print "__main__'s globals : " , globals().keys()
print "__main__'s locals : " , locals().keys()
foo()
